package com.lanou3g.demo.base.service;

import com.lanou3g.demo.entity.*;

import java.util.List;

public interface IAdminInfoService {

    List<AdminInfoQx> queryAdminAndRole();

    void insertAdminUserMessages(AdminInfo AdminInfo);

    void insertAdminRoles(List<AdminRole> adminRoles);

    AdminInfo queryAdminIdByAdminCode(AdminInfo adminInfo);

    List<RoleInfo> queryRoleInfo();

    AdminInfo queryAdminInfo(AdminInfo adminInfo);

    void updateAdminData (AdminInfo adminInfo,List<AdminRole>adminRoles);

    void deleteAdmin(AdminInfo adminInfo);

    List<AdminCondition>findAllByCondition(AdminCondition adminCondition);

    List<ModuleInfo>queryModuleName();

//    List<RoleModule> queryRoleId(Integer moduleId);
    List<RoleModule> queryRoleId(RoleModule roleModule);

    List<Service> findByPage(Integer page);

    void updatePassword(List<Integer> idList);

    List<AdminInfoQx>queryRoleName(RoleInfo roleInfo);

    List<RoleInfo>queryRoleNameById(List<RoleModule> roleModuleList);

    List<AdminInfoQx> queryRoleNames(List<RoleInfo> roleInfoList);

}
